package cash.cmp.personal_financial_system;

import org.junit.jupiter.api.Test;



public class fib {

    @Test
    void fibExe() {
        long mod = 1000000000L;
        long len = 202320232023L;
        long a = 1, b = 1, c;
        long ans = 2;
        for(int i = 0; i < len; i++) {
            System.out.println(i);
            c = (a + b) % mod;
            a = b;
            b = c;
            ans = (ans + c) % mod;
        }
        System.out.println(ans);
    }
}
